package cn.yj.core.business.service.iservice;

import cn.yj.annotation.pagehelper.page.Page;
import cn.yj.cgs.dba.entity.PartTimeJob;
import cn.yj.cgs.dba.entity.vo.PartTimeJobVo;
import cn.yj.entity.R;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * @author 永健
 * @since 2021-09-28 11:48
 */
public interface IPartTimeJob extends IService<PartTimeJob> {

    Page<PartTimeJobVo> pageList(Map<String, Object> params,Page<PartTimeJobVo> page);
    Page<PartTimeJobVo> myPushPageList(Map<String, Object> params,Page<PartTimeJobVo> page);

    boolean deleteInfoByCode(String jobCode);

    PartTimeJobVo detailByCode(String jobCode);

    R saveInfo(PartTimeJob entity);

    R updateInfoById(PartTimeJob entity);
}
